package com.jvm.reflect;

import java.lang.reflect.Modifier;

public class YuLanMain {

    public static void main(String[] args) {
        Class target = TargetObject.class;

        System.out.println(target.getPackage());

        Class[] interfaces = target.getInterfaces();


        System.out.println();

        System.out.println(Modifier.isPublic(target.getModifiers()));
    }
}
